package org.edu.modules.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.edu.modules.common.entity.VeBaseBuild;

@Mapper
public abstract interface VeBaseBuildMapper extends BaseMapper<VeBaseBuild> {
    public abstract VeBaseBuild getBuildByName(Integer name, String id);

    public abstract List<VeBaseBuild> queryBuildListByCampusId(Integer campusId);

    public abstract List<Map<String, Object>> queryJianzhuByCampusId(Integer campusId);

    public abstract List<Map<String, Object>> queryRoomListByBuildId(Integer buildId);

    public abstract List<Map<String, Object>> queryJianzhuByName(String jsmc);
}
